Tools function suddenly not working.
# support
a
Hello guys. I've setted up a tool (was using a function previously) to capture customer contact data, it was woking fine a few days ago but now all I am receiving is the end of call report (call summary, transcript, etc) I created the took in Vapi dashboard and assigned it to an stactic assitant, but also created a transient one that includes that tool id. The behavios is exactly the same on both. Is there any change or what should I double check to make sure it is correctly setted up? call id: cfdfba3e-4a07-46c3-a4b6-98a0e09e0c91
v
@AJulian Hello! I'm glad to assist you with your tool setup in VAPI. It sounds like you've encountered an issue where you're only receiving the end of call report instead of the customer contact data you were expecting. Here are a few things you can double-check to ensure everything is set up correctly: 1. **Tool Configuration**: Verify that the tool is still configured correctly in the VAPI dashboard. Ensure that the parameters and triggers are set as intended. 2. **Assistant Assignment**: Confirm that the static and transient assistants that include the tool ID are active and properly linked to the calls they are supposed to handle. 3. **Call Flow**: Review the call flow to make sure that the tool is being triggered at the correct point in the conversation. There might be conditions or specific phrases that need to be met for the tool to activate. 4. **Recent Changes**: Consider any recent changes made to the system or the tool that could have affected its performance. Sometimes updates or modifications can inadvertently disrupt existing setups. 5. **API Changes**: Check if there have been any updates to the VAPI that might require changes to how tools are integrated or called. 6. **Error Logs**: Look into the error logs for the call ID provided (cfdfba3e-4a07-46c3-a4b6-98a0e09e0c91) to see if there are any errors or warnings that could give you a clue about what's going wrong. 7. **Test Calls**: Perform test calls to see if the issue is consistent across different scenarios or if it's an isolated case. If after checking these points the issue still persists, please provide more details or error messages you're encountering, and I'll be happy to help you further. If necessary, we can also escalate this to our support team for more in-depth troubleshooting.
You can continue this conversation by mentioning me in the message.
a
Please, @User elaborate on the 1st and 3rd point
s
Can you send a loom video?
a
@Sahil @Vapi I tried creating a new assistant with a very basic tool and it worked, but the one i need just does not trigger the tool. All I need it to do is to capture customer data to book an appointment and send it to make. In the pictures, the configuration for the static and transient assistant, any help would be highly appreciated, it is getting really frustrating!!!: There is no even error message, it is just no triggering the tool (function), although it is specified in the assistant to do so when all necessary information is collected. https://cdn.discordapp.com/attachments/1276633568302338129/1277048631949656094/image.png?ex=66cc6878&is=66cb16f8&hm=4b5b2fb8f1ced0064b744c1ef1356c0d09e464a750de922e52eada7b6403d3e4& https://cdn.discordapp.com/attachments/1276633568302338129/1277048632167628862/image.png?ex=66cc6878&is=66cb16f8&hm=5396d9b5e6170c5bf22de30ebb235e6e3be2a0c53c0c32cfec3137d68fc7084f& https://cdn.discordapp.com/attachments/1276633568302338129/1277048632452972619/image.png?ex=66cc6878&is=66cb16f8&hm=81b23f6f0039d5768ee47ff8fc570bcebdf9db2f1e4ae53921a8f96db884816c& https://cdn.discordapp.com/attachments/1276633568302338129/1277048632696246294/image.png?ex=66cc6878&is=66cb16f8&hm=af3724532e37ad8575c28c5354c96e39298366ec88258a5ec22c106d373deb14&
e
Did you find a solution? I'm having a similar problem
s
@AJulian sent you a calendly link
a
No I have not, I just cant spend more time on this and gonna work my way around it and use some other tool to extract the needed information from the conversation for the appointment, this off course means no real time booking, but its what i can do while find a way to get it working.
Thanks Sahil, really appreciate it!
u
@AJulian @Sahil I have exactly the same problem, it sometimes does not trigger the tool, did you finally figure out how to fix it ?
a
@uthmvn man, sorry for the late response, Yes it is working now, I really don't know what they did from Vapi's Side but improved a lot, also I worked a lot on the prompt, a lot of trial and error. What worked best for me is trying to write the prompt as sequence of well defined steps as you can see in the picture below (Note: step 5 is incomplete in this example): https://cdn.discordapp.com/attachments/1276633568302338129/1311034322337398797/image.png?ex=6747635c&is=674611dc&hm=74974032135f7e172b4056ef6e0c6c5a9ef3b7ccdce81dffe3346c1497676120&
Good luck, hope it works for you as well, let me know if i can help you with anything else.
c
Hello @AJulian I read that you had problems with tool triggering. I’m experiencing the same issue, and my prompt looks very similar to yours. .1. Ask: "What time and date will be convenient for you?". - Set the parameter {{bookTime}} to [ user's response ] - Set the parameter {{StatusOfCall}} to 'Booking Appt.'. - Set the parameter CallReason to 'dotfront services Emma v2' .2. Say: "Let me check ..." .3. Trigger the 'checkavailability' tool with {{bookTime}} and {{StatusOfCall}} parameters to save the availability time.. .4. Say: "check availability only being processed...." .5. Say: "Great, let's get some of your details now." .6. Move to [ Get_User_Information ] section. Interestingly, on a test call, when I say 'trigger checkavailability,' it works. However, it doesn’t work otherwise. all system prompt has less than 2000 tokens. I'm using gpt4, which model are you using? thanks
10 Views